import { getEnergyConsumptionStructure } from '@/api/energy';

export default {
  data () {
    return {
      gridItemTwoData: {},
    };
  },
  methods: {
    async getGridItemTwoData () {
      try {
        const { data } = await getEnergyConsumptionStructure(this.getParams());
        this.gridItemTwoData = data;
      } catch (e) {
        console.log(e);
      }
    },
  },
}
